import request from "@/utils/request.js"
// 学长学姐研究生列表
export function allGraduateStudents(data) {
    return request.Request({
        url: '/kwkd/education/allGraduateStudents',
        method: 'POST',
        data
    });
}
// 发布找人
export function addFoundPerson(data) {
    return request.Request({
        url: '/kwkd/foundPerson/add',
        method: 'POST',
        data
    });
}

// 编辑找人
export function enditFoundPerson(data) {
    return request.Request({
        url: '/kwkd/foundPerson/edit',
        method: 'POST',
        data
    });
}

// 委托找人选择列表
export function entrustChoosePage(data) {
    return request.Request({
        url: '/kwkd/foundPerson/entrustChoosePage',
        method: 'POST',
        data
    });
}
// 委托找人
export function entrustFoundPerson(data) {
    return request.Request({
        url: '/kwkd/foundPerson/entrust',
        method: 'POST',
        data
    });
}

// 找人详情
export function detailFoundPerson(data) {
    return request.Request({
        url: '/kwkd/foundPerson/public/detail',
        method: 'GET',
        data
    });
}
// 找人详情的接力者和揭榜者列表
export function personList(data) {
    return request.Request({
        url: '/kwkd/foundPerson/public/detail/page',
        method: 'POST',
        data
    });
}
// 接力找人
export function relpayOper(data) {
    return request.Request({
        url: '/kwkd/foundPerson/relay',
        method: 'POST',
        data
    });
}
// 揭榜时判断是否已经完善了相关信息
export function askForEduInfo(data) {
    return request.Request({
        url: '/kwkd/personal/educationProfessionalState',
        method: 'GET',
        data
    });
}
// 揭榜
export function answerFind(data) {
    return request.Request({
        url: '/kwkd/foundPerson/unveiled',
		method: 'POST',
        data
    });
}
// 找人榜
export function foundPersons(data) {
    return request.Request({
        url: '/kwkd/foundPerson/public/foundPersons',
        method: 'POST',
        data
    });
}
// 确定揭榜
export function confirmUnveiled(data) {
    return request.Request({
        url: '/kwkd/foundPerson/confirmUnveiled',
        method: 'POST',
        data
    });
}
